Crate gix_revision

source ·
Expand description

Interact with git revisions by parsing them from rev-specs and describing them in terms of reference names.

§Feature Flags

  • describe (enabled by default)git describe functionality
  • serde — Data structures implement serde::Serialize and serde::Deserialize.

Modules§

Structs§

  • A graph of commits which additionally allows to associate data with commits.
  • A utility type implementing a queue which can be used to automatically sort data by its time in ascending order.

Enums§

  • A revision specification without any bindings to a repository, useful for serialization or movement over thread boundaries.

Functions§

  • describedescribe
    Given a commit id, traverse the commit graph and collect candidate names from the name_by_oid mapping to produce an Outcome, which converted into_format() will produce a typical git describe string.